/*
 * @Descripttion:
 * @version:
 * @Author: chenxf
 * @Date: 2022-09-13 15:35:39
 */
import { getAction, putAction, postAction } from '@/api/manage'

export const api = {}

/**
 * 加载站点信息
 * @param {*} params
 * @returns
 */
export const getSiteInfo = params => getAction('/eoa/cms/eoaCmsSite/getSiteInfo', params)

//加载我的通告信息

/**
 *
 * @param {*} params
 * @returns
 */
export const getUserNoticeInfo = params => getAction('/sys/sysAnnouncementSend/getMyAnnouncementSend', params)

//查询图表数据
export const getChartData = params => getAction('/joa/dataStatistics/getChartDate', params)
export const getPieData = params => getAction('/joa/dataStatistics/getPieDate', params)
